<?php

/**
 * Description of o2okeywordlang
 *
 * @author libaoling
 * @time 2015-2-14
 */
class O2okeywordlangModel extends BaseModel
{
    public $table  = 'o2o_keyword_lang';
    public $prikey = 'keyword_id';
    public $_name  = 'o2okeywordlang';
    public $_relation  =   array(
        'belongs_to_o2okeyword' => array(
            'model'             => 'o2okeyword',
            'type'              => BELONGS_TO,
            'foreign_key'       => 'keyword_id',
            'reverse'           => 'has_o2okeywordlang',
        ),
    );
}
